//
// Created by 吴喆 on 2020/3/21.
//

#ifndef SUMMER_BACKGROUNDRENDERER_H
#define SUMMER_BACKGROUNDRENDERER_H


#include "../engine/Renderer.h"

class BackgroundRenderer : public Renderer {
public:
    BackgroundRenderer(Shader *shader);

    void DrawSprite(Camera *camera, Texture2D *texture, glm::vec2 position, glm::vec2 size, GLfloat rotate, bool hFlip, bool vFlip,
                    bool useColor, glm::vec4 color) override;

private:
    void initRenderData() final;
};


#endif //SUMMER_BACKGROUNDRENDERER_H
